<div id="doctitle">
	<h2>CAMA PID Switcher</h2>
</div>

<div id="doclocation">
	<a href="v2/php-cgi/ws_cama_pidswitcher.php">Service URL</a>
</div>

<div id="docdescription">
	<h3>Description</h3>
	<p>Returns both parcel ID types, tax and common, for a given parcel ID.</p>
</div>

<div id="docinput">
	<h3>Service Arguments</h3>
	<table id="doctable">
		<tbody>
			<tr>
				<th>PARAMETER</th>
				<th>DESCRIPTION</th>
			</tr>
			<tr>
				<td>pid</td>
				<td>Eight character parcel ID. Example: 12312312.</td>
			</tr>
			<tr>
				<td>pidtype</td>
				<td>Type of pid being input, either 'tax' for a tax parcel ID or 
					'common' for a common parcel ID, such as a condo common parcel. 
					Both parcel types for the input parcel are returned.</td>
			</tr>
			<tr>
				<td>format</td>
				<td>Format for the output. Value is either 'xml' for xml output or
					'json' for JSON output.</td>
			</tr>
		</tbody>
	</table>
</div>

<div id="docoutput">
	<h3>Service Output</h3>
	<table id="doctable">
		<tbody>
			<tr>
				<th>PARAMETER</th>
				<th>DESCRIPTION</th>
			</tr>
			<tr>
				<td>parcel_id</td>
				<td>Tax parcel ID.</td>
			</tr>
			<tr>
				<td>common_parcel_id</td>
				<td>Tax parcel common ID, for things like condo common areas.</td>
			</tr>
		</tbody>
	</table>
</div>

<div id="docsample">
	<h3>Sample Output</h3>
	<p>Sample XML Output</p>
	<pre>
	&lt;rows total-rows="1"&gt;
	&lt;row&gt;
	&lt;column name="parcel_id"&gt;11111111&lt;/column&gt;
	&lt;column name="common_parcel_id"&gt;11111111&lt;/column&gt;
	&lt;/row&gt;
	&lt;/rows&gt;
	</pre>
	
	<p>Sample JSON Output</p>
	<pre>
	{"total_rows":"1","rows":[{"row":{"parcel_id":"11111111",
	"common_parcel_id":"11111111"}}]}
	</pre>
</div>